package com.egao.orderB.biz;

import com.egao.common.core.damon.results.PageResult2;
import com.egao.common.system.entity.User;
import com.egao.orderB.entity.FeeBill;
import com.egao.common.core.web.JsonResult;
import org.apache.poi.ss.formula.functions.T;
import java.util.List;

/**
 *
 * 数据层接口
 * @author : Doman
 * @date : 2020-08-17 10:08:53
 * @version ：1.0
 */
public interface FeeBillBiz {

	/** 获取实体类表格
	 * @param page
	 * @param feeBill
	 * @return
	 */
	public JsonResult list(PageResult2<T> page, FeeBill feeBill, User loginUser) throws Exception;
	
	/**
	 * 获取实体类表格
	 * @param feeBill
	 * @return
	 */
	public List<FeeBill> list(FeeBill feeBill, User loginUser);
	
	/**
	 * 根据Id查询实体类
	 * @param feeBill
	 * @return
	 */
	public FeeBill getById(FeeBill feeBill);
	
	/**
	 * 保存实体类
	 * @param feeBill
	 * @param loginUser
	 * @return
	 */
	public boolean save(FeeBill feeBill, User loginUser);
	
	/**
	 * 修改实体类
	 * @param feeBill
	 * @param loginUser
	 * @return
	 */
	public boolean update(FeeBill feeBill, User loginUser);

	/**
	 * 修改实体类
	 * @param feeBill
	 * @param loginUser
	 * @return
	 */
	public boolean updateStateS(FeeBill feeBill, User loginUser);

	/**
	 * 修改实体类
	 * @param feeBill
	 * @param loginUser
	 * @return
	 */
	public boolean updateStateF(FeeBill feeBill, User loginUser);

	/**
	 * 删除实体类
	 * @param feeBill
	 * @param loginUser
	 * @return
	 */
	public boolean remove(FeeBill feeBill, User loginUser);

}
